639b85fae73116ea0f8b01c1c19dc4ba60d34b53,src/de/grobox/liberario/ui/LocationView.java,LocationView,onRestoreInstanceState,#Parcelable#,187

Before Change


				ui.clear.setVisibility(View.VISIBLE);

				// load the auto-completion results again as they seem to get lost during restart
				loaderManager.getLoader(getId()).onContentChanged();
			}
			int position = bundle.getInt(TEXT_POSITION);
			ui.location.setSelection(position);

After Change


				ui.clear.setVisibility(View.VISIBLE);

				// load the auto-completion results again as they seem to get lost during restart
				Loader loader = loaderManager.getLoader(getId());
				if(loader != null) loader.onContentChanged();
			}
			int position = bundle.getInt(TEXT_POSITION);
			ui.location.setSelection(position);